Vue.extend = function (params) {
    const Super = this

    let Sub = function VueConponent(options) {
        this._init(optiosn)
    }

    Sub.prototype = Object.create(Super.prototype)
    Sub.prototype.constructor = Sub;

    Sub['super'] = Super;
    Sub.extend = Super.extend;

    return Sub
}